let app = getApp();
Page({

  data: {

  },

  onLoad: function(options) {
    let name = decodeURIComponent(options.name);
    this.setData({ name });
  },

  onReady: function() {

  },

  onShow: function() {

  },

  again: function() {
    wx.navigateBack({
      delta: 1,
      success() {
        let pages = getCurrentPages();
        let currPage = pages[pages.length - 2];
        currPage.setData({ isShow: true, submit: false });
      },
    });
  },

  select: function() {
    wx.navigateBack();
  },

  onHide: function() {

  },

  onUnload: function() {

  },

  onPullDownRefresh: function() {

  },

  onReachBottom: function() {

  },

});